package org.edu.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

@Data
//数据表名
@TableName("sys_user")
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
public class VeUserEntity {
    /**主键id*/
    @ApiModelProperty(value = "主键id")
    @TableField(value = "id")
    private String id;

    @ApiModelProperty(value = "账号")
    @TableField(value = "username")
    private String username;

    @ApiModelProperty(value = "名字")
    @TableField(value = "realname")
    private String realname;

}
